package com.usefullc.user.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.usefullc.system.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 定时任务模板实体
 * @author: 星空
 * @date: 2022-10-06
 */
@ApiModel("定时任务模板")
@TableName("sys_job_template")
@Data
public class JobTemplate extends BaseEntity {

//useful_auto_generate_section_start

    @ApiModelProperty(notes = "租户ID")
    @TableField(value="`tenantId`")
    private Long tenantId;

    @ApiModelProperty(notes = "名称")
    @TableField(value="`name`")
    private String name;

    @ApiModelProperty(notes = "运行状态")
    @TableField(value="`status`")
    private Integer status;

    @ApiModelProperty(notes = "是否可用")
    @TableField(value="`enabled`")
    private Integer enabled;

    @ApiModelProperty(notes = "时间表达式")
    @TableField(value="`cron`")
    private String cron;

    @ApiModelProperty(notes = "描述")
    @TableField(value="`description`")
    private String description;

    @ApiModelProperty(notes = "参数")
    @TableField(value="`param`")
    private String param;


//useful_auto_generate_section_end

}
